package com.bestcem.xm.label.enums;

import com.bestcem.xm.common.core.enums.CommonEnum;

/**
 * @author ming.xue <ming.xue@idiaoyan.com>
 * @desc 自动打标签条件是否匹配
 * @date 2021-06-09
 */
public enum MatchEnum implements CommonEnum  {
    /**
     * 匹配
     */
    MATCH("match", 1),

    /**
     * 不匹配
     */
    MISMATCH("mismatch", 2),

    /**
     * 没有答卷数据
     */
    NODATA("no_data", 3);

    private String name;

    private int index;

    MatchEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    @Override
    public int getIndex() {
        return index;
    }

    @Override
    public String getName() {
        return name;
    }
}
